import axios from '../utils/axios';
const baseURL = '/api/label/';

//添加标签
export const addLabelApi = async (params: object) => {
  return axios.post(`${baseURL}addLabel`, params);
}
//获取标签列表
export const getLabelApi = async (params: object) => {
  return axios.post(`${baseURL}getLabel`, params);
}

//删除标签
export const deleteLabelApi = async (params: object) => {
  return axios.post(`${baseURL}deleteLabel`, params);
}